home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 6
/
FM Towns Free Software Collection 6.iso
/
t_os
/
igo
/
src
/
micommnt.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-07-08
|
3KB
|
143 lines
#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>
extern int commentdialogId ;
extern int commentId ;
extern int commentbtnId[2] ;
extern int igo_commentset() ;
extern int igo_commentcancel() ;
extern int comment_messageId[3] ;
#define ALIGN 4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
/* MMI_init 用データ */
/* ヘッダ */
MMIINIT initDataMICOMMNT = { "MmiInit", 7, 0 } ;
/* commentdialogId */
static MMIPACKET d001 = { &commentdialogId,
NULL,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d001d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SAVEL40,
191, 71, 438, 366, 8, 7, 8,
MS_SRECTL40 | MS_FRAMEL40,
NULL, 0, 0
} ;
/* commentId */
static MMIPACKET d002 = { &commentId,
&commentdialogId,
&MJ_TEXTL40,
OFFSET(TEXTL40),
MS_NONE
} ;
static TEXTL40 d002d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40,
198, 99, 429, 323, 8,15, 8,
MS_FRAMEL40,
0,
0, 0, 0, 0,
0, 0, 0, 0, 0,
256, 0, 0,
0, 0, 0, 0,
0,
0, 0, 0, 0,
1, 12, 12, 0, 0,
0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0,
24
} ;
/* commentbtnId[0] */
static MMIPACKET d003 = { &commentbtnId[0],
&commentdialogId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d003d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
222, 330, 301, 355, 4, 7, 8,
MS_PANELL40 | MS_FRAMEL40 | MS_DEFAULTL40,
igo_commentset,
0x0000
} ;
/* commentbtnId[1] */
static MMIPACKET d004 = { &commentbtnId[1],
&commentdialogId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d004d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
324, 329, 403, 354,10, 7, 8,
MS_PANELL40 | MS_FRAMEL40 | MS_DEFAULTL40,
igo_commentcancel,
0x0000
} ;
/* comment_messageId[0] */
static MMIPACKET d005 = { &comment_messageId[0],
&commentdialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d005d = { MS_CENTERL40 | MS_DSPONLYL40,
231, 74, 390, 97, 8,15, 8,
MS_NONEL40,
"コメント",
1, 12, 12,
MS_NONEL40,
5, 0
} ;
/* comment_messageId[1] */
static MMIPACKET d006 = { &comment_messageId[1],
&commentdialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d006d = { MS_CENTERL40 | MS_DSPONLYL40,
228, 332, 295, 352, 8,15, 8,
MS_NONEL40,
"設定",
1, 12, 12,
MS_NONEL40,
5, 0
} ;
/* comment_messageId[2] */
static MMIPACKET d007 = { &comment_messageId[2],
&commentdialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d007d = { MS_CENTERL40 | MS_DSPONLYL40,
329, 331, 396, 351, 8,15, 8,
MS_NONEL40,
"取消",
1, 12, 12,
MS_NONEL40,
5, 0
} ;